
package com.springcloud.zuulsimple;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
/**
 * @description:
 * @EnableZuulProxy //支持网关路由。
 * 在浏览器访问http://localhost:8080/baidu/，
 * @see:com.springcloud.zuulsimple
 * @author:xuan
 * @createTime:2020/12/18 14:46
 * @version:1.0
 */
@SpringBootApplication
@EnableZuulProxy
public class ZuulSimpleApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulSimpleApplication.class, args);
    }

}
